import  yagmail
import flask
import send_message

server=flask.Flask(__name__)
@server.route('/send_mail')
def send_qqmail(subjec,content):
    send_message.send_mail(subjec="王晓艳测试发邮件",content="I am fine")
    return "ok"

send_qqmail()
